<?php
session_start();
$currUsername = $_SESSION['user']->getUsername();
function __autoload($class_name) {
	include $class_name.'.php';
}
$currProfile = new Profile($currUsername);
$currentUser = $currProfile->getUser();
if(!$currentUser->checkIfLocked()) {

	echo false; return;
}
echo true ; return; 
?>